var express = require('express');
var router = express.Router();

router.use(function (req,res,next) {
    // if(!req.session['user_id'] && req.url != '/login'){
    //     res.redirect('/admin/login');
    // }else{
    next();
    // }
});

/* GET home page. */
router.get('/',function (req,res) {
    res.render('index');
});

module.exports = router;
